﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BO;

public partial class Controls_Reports_Account_AccountPostStats : System.Web.UI.UserControl
{
	public AccountOverview OverView { get; set; }
    protected void Page_Load(object sender, EventArgs e)
    {
		if (!IsPostBack)
			LoadData();
    }

	private void LoadData()
	{
		lblPostsNum.Text = OverView.TotalPostCount.ToString();
		lblFbComments.Text = OverView.FbCommentCount.ToString();
		lblTwReplys.Text = OverView.TwReplyCount.ToString();
		lblFbAvgComments.Text = OverView.FbAvgComments.ToString();
		lblTwAvgComments.Text = OverView.TwAvgReplies.ToString();
	}
}